package com.bd.scm.domain.models.place;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 *  场所
 *  User: _Cps
 *  Date: 2019.08.28 16:44
 */
@Data
@Accessors(chain = true)
@TableName("dt_ac_dep")
public class DtAcDep {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long depSerial;

    private Integer depPlace;

    @TableField("Dep_lock")
    private Integer depLock;

    private LocalDateTime sj;

    private String depName;

    private String regserial;

    private Integer depState;

    private String moduleId;

    private Integer depParent;

    private String depNo;

    private String depNumber;

    private String depRule;

    private Integer depOrder;

    @TableField("Dep_x_point")
    private Integer depXPoint;

    @TableField("Dep_sex")
    private Integer depSex;

    @TableField("Dep_floor")
    private Integer depFloor;

    @TableField("Dep_type")
    private Integer depType;

    private Integer depLx;

    @TableField("Dep_Y_point")
    private Integer depYPoint;


    @TableField(exist = false)
    private String key;

    //一卡通系统
    @TableField(exist = false)
    private String title;

    //法雷奥系统
    @TableField(exist = false)
    private String text;

    @TableField(exist = false)
    private List<DtAcDep> children;
}
